package pe.edu.upc.xcode.pago.services;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import pe.edu.upc.xcode.pago.dao.PagoDao;
import pe.edu.upc.xcode.pago.dao.PagoDaoImpl;
import pe.edu.upc.xcode.pago.domain.Pago;


/**
 * 
 * @author MADELEY
 * @since 22.01.12
 *
 */
@Service
public class ServicePago {

	@Autowired
	public PagoDao pagoDao;
	
	public String pagoConsulta(Pago pago) throws Exception {
		// TODO Auto-generated method stub
		return pagoDao.pagoConsulta(pago);
	}

	public String consultaPagoConsulta(String dni) throws Exception {
		// TODO Auto-generated method stub
		return pagoDao.consultaPagoConsulta(dni);
	}
	
}
